﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class UnityEngineAssertionsAssertWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(UnityEngine.Assertions.Assert);
			Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
			
			
			
			
			
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 9, 0, 0);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "IsTrue", _m_IsTrue_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "IsFalse", _m_IsFalse_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "AreApproximatelyEqual", _m_AreApproximatelyEqual_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "AreNotApproximatelyEqual", _m_AreNotApproximatelyEqual_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "AreEqual", _m_AreEqual_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "AreNotEqual", _m_AreNotEqual_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "IsNull", _m_IsNull_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "IsNotNull", _m_IsNotNull_xlua_st_);
            
			
            
			
			
			
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            return LuaAPI.luaL_error(L, "UnityEngine.Assertions.Assert does not have a constructor!");
        }
        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsTrue_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 1&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 1)) 
                {
                    bool _condition = LuaAPI.lua_toboolean(L, 1);
                    
                    UnityEngine.Assertions.Assert.IsTrue( _condition );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)) 
                {
                    bool _condition = LuaAPI.lua_toboolean(L, 1);
                    string _message = LuaAPI.lua_tostring(L, 2);
                    
                    UnityEngine.Assertions.Assert.IsTrue( _condition, _message );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Assertions.Assert.IsTrue!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsFalse_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 1&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 1)) 
                {
                    bool _condition = LuaAPI.lua_toboolean(L, 1);
                    
                    UnityEngine.Assertions.Assert.IsFalse( _condition );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)) 
                {
                    bool _condition = LuaAPI.lua_toboolean(L, 1);
                    string _message = LuaAPI.lua_tostring(L, 2);
                    
                    UnityEngine.Assertions.Assert.IsFalse( _condition, _message );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Assertions.Assert.IsFalse!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AreApproximatelyEqual_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    float _expected = (float)LuaAPI.lua_tonumber(L, 1);
                    float _actual = (float)LuaAPI.lua_tonumber(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreApproximatelyEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    float _expected = (float)LuaAPI.lua_tonumber(L, 1);
                    float _actual = (float)LuaAPI.lua_tonumber(L, 2);
                    float _tolerance = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreApproximatelyEqual( _expected, _actual, _tolerance );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    float _expected = (float)LuaAPI.lua_tonumber(L, 1);
                    float _actual = (float)LuaAPI.lua_tonumber(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreApproximatelyEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)) 
                {
                    float _expected = (float)LuaAPI.lua_tonumber(L, 1);
                    float _actual = (float)LuaAPI.lua_tonumber(L, 2);
                    float _tolerance = (float)LuaAPI.lua_tonumber(L, 3);
                    string _message = LuaAPI.lua_tostring(L, 4);
                    
                    UnityEngine.Assertions.Assert.AreApproximatelyEqual( _expected, _actual, _tolerance, _message );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Assertions.Assert.AreApproximatelyEqual!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AreNotApproximatelyEqual_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    float _expected = (float)LuaAPI.lua_tonumber(L, 1);
                    float _actual = (float)LuaAPI.lua_tonumber(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreNotApproximatelyEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    float _expected = (float)LuaAPI.lua_tonumber(L, 1);
                    float _actual = (float)LuaAPI.lua_tonumber(L, 2);
                    float _tolerance = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreNotApproximatelyEqual( _expected, _actual, _tolerance );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    float _expected = (float)LuaAPI.lua_tonumber(L, 1);
                    float _actual = (float)LuaAPI.lua_tonumber(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreNotApproximatelyEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)) 
                {
                    float _expected = (float)LuaAPI.lua_tonumber(L, 1);
                    float _actual = (float)LuaAPI.lua_tonumber(L, 2);
                    float _tolerance = (float)LuaAPI.lua_tonumber(L, 3);
                    string _message = LuaAPI.lua_tostring(L, 4);
                    
                    UnityEngine.Assertions.Assert.AreNotApproximatelyEqual( _expected, _actual, _tolerance, _message );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Assertions.Assert.AreNotApproximatelyEqual!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AreEqual_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    sbyte _expected = (sbyte)LuaAPI.xlua_tointeger(L, 1);
                    sbyte _actual = (sbyte)LuaAPI.xlua_tointeger(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    byte _expected = (byte)LuaAPI.xlua_tointeger(L, 1);
                    byte _actual = (byte)LuaAPI.xlua_tointeger(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    char _expected = (char)LuaAPI.xlua_tointeger(L, 1);
                    char _actual = (char)LuaAPI.xlua_tointeger(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    short _expected = (short)LuaAPI.xlua_tointeger(L, 1);
                    short _actual = (short)LuaAPI.xlua_tointeger(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    ushort _expected = (ushort)LuaAPI.xlua_tointeger(L, 1);
                    ushort _actual = (ushort)LuaAPI.xlua_tointeger(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    int _expected = LuaAPI.xlua_tointeger(L, 1);
                    int _actual = LuaAPI.xlua_tointeger(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    uint _expected = LuaAPI.xlua_touint(L, 1);
                    uint _actual = LuaAPI.xlua_touint(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1) || LuaAPI.lua_isint64(L, 1))&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))) 
                {
                    long _expected = LuaAPI.lua_toint64(L, 1);
                    long _actual = LuaAPI.lua_toint64(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1) || LuaAPI.lua_isuint64(L, 1))&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isuint64(L, 2))) 
                {
                    ulong _expected = LuaAPI.lua_touint64(L, 1);
                    ulong _actual = LuaAPI.lua_touint64(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    sbyte _expected = (sbyte)LuaAPI.xlua_tointeger(L, 1);
                    sbyte _actual = (sbyte)LuaAPI.xlua_tointeger(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    byte _expected = (byte)LuaAPI.xlua_tointeger(L, 1);
                    byte _actual = (byte)LuaAPI.xlua_tointeger(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    char _expected = (char)LuaAPI.xlua_tointeger(L, 1);
                    char _actual = (char)LuaAPI.xlua_tointeger(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    short _expected = (short)LuaAPI.xlua_tointeger(L, 1);
                    short _actual = (short)LuaAPI.xlua_tointeger(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    ushort _expected = (ushort)LuaAPI.xlua_tointeger(L, 1);
                    ushort _actual = (ushort)LuaAPI.xlua_tointeger(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    int _expected = LuaAPI.xlua_tointeger(L, 1);
                    int _actual = LuaAPI.xlua_tointeger(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    uint _expected = LuaAPI.xlua_touint(L, 1);
                    uint _actual = LuaAPI.xlua_touint(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1) || LuaAPI.lua_isint64(L, 1))&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    long _expected = LuaAPI.lua_toint64(L, 1);
                    long _actual = LuaAPI.lua_toint64(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1) || LuaAPI.lua_isuint64(L, 1))&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isuint64(L, 2))&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    ulong _expected = LuaAPI.lua_touint64(L, 1);
                    ulong _actual = LuaAPI.lua_touint64(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Object>(L, 1)&& translator.Assignable<UnityEngine.Object>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    UnityEngine.Object _expected = (UnityEngine.Object)translator.GetObject(L, 1, typeof(UnityEngine.Object));
                    UnityEngine.Object _actual = (UnityEngine.Object)translator.GetObject(L, 2, typeof(UnityEngine.Object));
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Assertions.Assert.AreEqual!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AreNotEqual_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    sbyte _expected = (sbyte)LuaAPI.xlua_tointeger(L, 1);
                    sbyte _actual = (sbyte)LuaAPI.xlua_tointeger(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    byte _expected = (byte)LuaAPI.xlua_tointeger(L, 1);
                    byte _actual = (byte)LuaAPI.xlua_tointeger(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    char _expected = (char)LuaAPI.xlua_tointeger(L, 1);
                    char _actual = (char)LuaAPI.xlua_tointeger(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    short _expected = (short)LuaAPI.xlua_tointeger(L, 1);
                    short _actual = (short)LuaAPI.xlua_tointeger(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    ushort _expected = (ushort)LuaAPI.xlua_tointeger(L, 1);
                    ushort _actual = (ushort)LuaAPI.xlua_tointeger(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    int _expected = LuaAPI.xlua_tointeger(L, 1);
                    int _actual = LuaAPI.xlua_tointeger(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    uint _expected = LuaAPI.xlua_touint(L, 1);
                    uint _actual = LuaAPI.xlua_touint(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1) || LuaAPI.lua_isint64(L, 1))&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))) 
                {
                    long _expected = LuaAPI.lua_toint64(L, 1);
                    long _actual = LuaAPI.lua_toint64(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1) || LuaAPI.lua_isuint64(L, 1))&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isuint64(L, 2))) 
                {
                    ulong _expected = LuaAPI.lua_touint64(L, 1);
                    ulong _actual = LuaAPI.lua_touint64(L, 2);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    sbyte _expected = (sbyte)LuaAPI.xlua_tointeger(L, 1);
                    sbyte _actual = (sbyte)LuaAPI.xlua_tointeger(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    byte _expected = (byte)LuaAPI.xlua_tointeger(L, 1);
                    byte _actual = (byte)LuaAPI.xlua_tointeger(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    char _expected = (char)LuaAPI.xlua_tointeger(L, 1);
                    char _actual = (char)LuaAPI.xlua_tointeger(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    short _expected = (short)LuaAPI.xlua_tointeger(L, 1);
                    short _actual = (short)LuaAPI.xlua_tointeger(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    ushort _expected = (ushort)LuaAPI.xlua_tointeger(L, 1);
                    ushort _actual = (ushort)LuaAPI.xlua_tointeger(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    int _expected = LuaAPI.xlua_tointeger(L, 1);
                    int _actual = LuaAPI.xlua_tointeger(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    uint _expected = LuaAPI.xlua_touint(L, 1);
                    uint _actual = LuaAPI.xlua_touint(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1) || LuaAPI.lua_isint64(L, 1))&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    long _expected = LuaAPI.lua_toint64(L, 1);
                    long _actual = LuaAPI.lua_toint64(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1) || LuaAPI.lua_isuint64(L, 1))&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isuint64(L, 2))&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    ulong _expected = LuaAPI.lua_touint64(L, 1);
                    ulong _actual = LuaAPI.lua_touint64(L, 2);
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Object>(L, 1)&& translator.Assignable<UnityEngine.Object>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) 
                {
                    UnityEngine.Object _expected = (UnityEngine.Object)translator.GetObject(L, 1, typeof(UnityEngine.Object));
                    UnityEngine.Object _actual = (UnityEngine.Object)translator.GetObject(L, 2, typeof(UnityEngine.Object));
                    string _message = LuaAPI.lua_tostring(L, 3);
                    
                    UnityEngine.Assertions.Assert.AreNotEqual( _expected, _actual, _message );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Assertions.Assert.AreNotEqual!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsNull_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.Object _value = (UnityEngine.Object)translator.GetObject(L, 1, typeof(UnityEngine.Object));
                    string _message = LuaAPI.lua_tostring(L, 2);
                    
                    UnityEngine.Assertions.Assert.IsNull( _value, _message );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsNotNull_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.Object _value = (UnityEngine.Object)translator.GetObject(L, 1, typeof(UnityEngine.Object));
                    string _message = LuaAPI.lua_tostring(L, 2);
                    
                    UnityEngine.Assertions.Assert.IsNotNull( _value, _message );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        
        
        
        
        
		
		
		
		
    }
}
